home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / procssng / ccs / ccs-11tl.lha / lbl / jpeg / sources / makefile.src < prev   
Encoding:
Makefile  |  1993-08-23  |  551 b   |  34 lines

  1. #
  2. # makefile for user-contributed/lbl/jpeg/sources
  3. #
  4.  
  5. PGMS = cjpeg.out djpeg.out
  6. ANSI2KNR = ../ansi2knr
  7.  
  8. LIBRARIE5 = $(LDFLAGS) -lscs5 -ljpeg -lccs -ltiff -lrle $(LIBRARIES)
  9. CPPFLAGS2 = -I$(CCS_ROOT)/include -DHAVE_UNSIGNED_CHAR -DHAVE_UNSIGNED_SHORT
  10. #-DHIPS_IMAGE 
  11.  
  12. install:    $(PGMS)
  13.  
  14. .c.o:
  15.     $(ANSI2KNR) $*.c tmpansi.c
  16.     $(COMPILEc) $(CPPFLAGS2) -c tmpansi.c -o $*.o
  17.  
  18. $(PGMS):    cjpeg.o djpeg.o
  19.     $(LINKc) $* $*.o $(LIBRARIE5)
  20.     mv $* $(DESTDIR)
  21.     @touch $@
  22.     @rm -f tmpansi.c
  23.  
  24. clean:    clean-pgm
  25. clean-all:    clean_all
  26.  
  27. pristine:    pristine-pgm
  28.  
  29. man:
  30.  
  31. doc:
  32.  
  33. FRC:
  34.